package P053_RegexpOfReplaceAll;

import org.junit.Test;

/**
 * Desc:&emsp;&ensp;replaceAll中第一个参数是正则表达式
 *
 * @author 李渊&emsp;liyuan7@yusys.com.cn
 * @version 1.0
 * @since V4.3&emsp;2022/3/24
 */
public class RegexpOFReplaceAll {
    @Test
    public void Test1() {
        System.out.println("1A1".replaceAll("1",""));
        System.out.println("$A$".replaceAll("$",""));
        System.out.println("$A$".replace("$",""));
    }
}
